package com.nc.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;

/**
 * @author <a href="yongzhou.yyz@cainiao.com">changling</a>
 * @version 1.0
 * @since 2017/9/3
 */
@SpringBootApplication(scanBasePackages = "com.nc")
@EnableAutoConfiguration
@Configuration
@MapperScan("com.nc.background.mapper")
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
